Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for power switch annotations #689

Merged
merged 2 commits into from
Dec 12, 2024
Merged

add support for power switch annotations #689

merged 2 commits into from
Dec 12, 2024

Conversation

pau-hedgehog
Copy link
Contributor

Add GetPowerInfo function to enable reading of annotations used to power manage switches via an external PDU Server

Frostman
Frostman previously approved these changes Dec 9, 2024
pkg/hhfctl/switch.go Outdated Show resolved Hide resolved
the GetPowerInfo function returns a string
map with the available annotations:

power.hhfab.githedgehog.com/psu1: http://PDUIP/outlet/1
power.hhfab.githedgehog.com/psu2: http://PDUIP/outlet/2
@pau-hedgehog pau-hedgehog marked this pull request as ready for review December 12, 2024 18:29
@Frostman Frostman merged commit c5c0e80 into master Dec 12, 2024
6 checks passed
@Frostman Frostman deleted the hhfctl_power branch December 12, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants